
package org.xteam.box2text.parser.ast;

import org.xteam.parser.runtime.Span;

public class ModelAccess extends BoxSpec {
	
	
	protected Expression expr;
	protected org.xteam.parser.runtime.AstList<Option> options;
	
	public ModelAccess(Span span, Expression expr,org.xteam.parser.runtime.AstList<Option> options) {
		super(span);
		this.expr = expr;
		this.options = options;
	}
	
	
	public Expression getExpr() {
		return expr;
	}
	
	public void setExpr(Expression expr) {
		this.expr = expr;
	}
	
	public org.xteam.parser.runtime.AstList<Option> getOptions() {
		return options;
	}
	
	public void setOptions(org.xteam.parser.runtime.AstList<Option> options) {
		this.options = options;
	}
	

	public void visit(IBoxVisitor visitor) {
		visitor.visitModelAccess(this);
	}
}
